﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" 
           targetNamespace="http://codeart/sharepoint/formLayout" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="TableLayout">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="unbounded" name="Field">
          <xs:complexType>
            <xs:attribute name="Name" type="xs:string" use="required" />
            <xs:attribute name="ColumnSpan" type="xs:unsignedByte" use="optional" />
            <xs:attribute name="FieldControlType" type="xs:string" use="optional" />
          </xs:complexType>
        </xs:element>
        <xs:element name="HTML" type="xs:string" />
      </xs:sequence>
      <xs:attribute name="Columns" type="xs:unsignedByte" use="required" />
      <xs:attribute name="FullConfiguration" type="xs:boolean" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>